import VueRouter from "vue-router";
import About from "../pages/About";
import Home from "../pages/Home"
import News from "../pages/News"
import Message from "../pages/Message";

export default new VueRouter({
    routes:[
        {
            path:'/about',
            component:About,
            children:[

            ]
        },
        {
            path:'/home',
            component:Home,
            children:[
                {
                    path: 'message',
                    component: Message
                },
                {
                    path:'news',
                    component:News
                }
            ]
        }
    ]
})
